package tool;

public class weapon extends Tool {
    private int hit;

    public weapon(String name, int hit) {
        super(name);
        this.hit = hit;
    }

    public int getHit() {
        return hit;
    }
    public void setHit(int hit) {
        this.hit = hit;
    }
}
